import { configureStore } from '@reduxjs/toolkit'
import songReducer from './reducer/songSlice'
import persistMiddleWare from '../middleware/persist'
export default configureStore({
    reducer: {
        playlist: songReducer
    },
    middleware: (getDefaultEnhancers) => getDefaultEnhancers().concat(persistMiddleWare)
})